package com.family.pedigree.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.family.pedigree.domain.FamilyArticle;

import java.util.List;

/**
 * @author forever
 * Date 2024/11/17 18:17
 */
public interface IFamilyArticleService extends IService<FamilyArticle> {
    FamilyArticle getNotice();

    List<FamilyArticle> getTopFive();

    void add(FamilyArticle article);


    List<?> getList(FamilyArticle article);

    void edit(FamilyArticle article);

    void upOrDown(FamilyArticle article);

    void articleCase(Long articleId);

    List<?> getDraftList(FamilyArticle article);

    List<?> getDownList(FamilyArticle article);
}
